﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VemTransporte.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>..:: STI ::..</title>
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 211px;
        }
    </style>
</head>
<body id="corpo">
    <form id="formGlobal" runat="server">
    <!-- Div Topo Inicio -->
    <div id="topo">
        <div id="logoTopo">
        </div>
        <!-- Div Formulário Login Inicio -->
        <div id="formLogin">
            <asp:Panel DefaultButton="LoginButton" ID="panelLoginForm" runat="server">
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label4" runat="server" AssociatedControlID="TextBoxEmail">E-mail:</asp:Label>
                        </td>
                        <td colspan="2">
                            <asp:Label ID="Label5" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="textEntry" Width="200px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxSenha" runat="server" CssClass="passwordEntry" TextMode="Password"
                                MaxLength="6" Width="200px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Entrar" BackColor="#637BAD"
                                ForeColor="White" ValidationGroup="LoginUserValidationGroup" OnClick="LoginButton_Click"
                                BorderColor="#637BAD" Font-Names="verdana" Font-Size="10px" Font-Bold="true"
                                Height="20px" Width="60px" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="RememberMe" ForeColor="ActiveCaption" Font-Bold="true" Text="Lembrar Senha"
                                runat="server" />
                        </td>
                        <td colspan="2">
                            <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="ActiveCaption" NavigateUrl="~/Views/UsuarioTransporte/RecuperarSenha.aspx">Esqueceu a Senha?</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </div>
        <!-- Div Formulário Login Fim -->
    </div>
    <!-- Div Mapa em flash Inicio -->
    <div id="mapa">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
            width="550" height="400" title="mapa">
            <param name="movie" value="/Content/Flashs/mapa.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <embed src="/Content/Flashs/mapa.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                type="application/x-shockwave-flash" allowscriptaccess="always" width="550" height="400">
                </embed>
        </object>
    </div>
    <!-- Div Mapa em flash Fim -->
    <!-- Div Formulario de Cadastro Inicio -->
    <div id="formCadastro">
        <asp:Panel DefaultButton="CreateUserButton" ID="panel1" runat="server">
            <br />
            <label style="font-size: 24px; color: #203360; font-weight: bold">
                Cadastre-se</label>
            <div>
                <p>
                    <label style="font-size: 11px; font-family: Verdana; color: #203360;">
                        Use o formulário abaixo para criar sua conta de acesso.</label>
                </p>
                <hr style="outline-style: none; color: #9aafca;" />
                <span class="failureNotification">
                    <asp:Literal ID="ErrorMessage" runat="server"></asp:Literal>
                </span>
                <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
                    ValidationGroup="RegisterUserValidationGroup" />
                <div class="accountInfo">
                    <table style="width: 450px">
                        <tr>
                            <td align="left" class="style1">
                                <asp:Label ID="UserNameLabel" runat="server" Font-Names="verdana" AssociatedControlID="UserName"
                                    Font-Size="12px" ForeColor="#203360">Nome:</asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="UserName" runat="server" CssClass="textEntry" Height="30px" BorderColor="#9aafca"
                                    Width="300px" Font-Size="14px" MaxLength="50"></asp:TextBox>
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                    CssClass="failureNotification" ErrorMessage="Preenchar o campo Nome!" ToolTip="User Name is required."
                                    ValidationGroup="RegisterUserValidationGroup" ForeColor="Red">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label1" runat="server" AssociatedControlID="DropDownListDia" Font-Names="verdana"
                                    Font-Size="12px" ForeColor="#203360">Data de nascimento:</asp:Label>
                            </td>
                            <td colspan="2">
                                <asp:DropDownList ID="DropDownListDia" runat="server" Height="30px" BorderColor="#9aafca"
                                    Width="55px">
                                    <asp:ListItem>Dia</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Label ID="Label2" runat="server" Font-Size="16px" ForeColor="#203360" Text=" / "></asp:Label>
                                <asp:DropDownList ID="DropDownListMes" runat="server" Height="30px" BorderColor="#9aafca"
                                    Width="130px" AutoPostBack="true" OnSelectedIndexChanged="DropDownListMes_SelectedIndexChanged">
                                    <asp:ListItem>Mês</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Label ID="Label3" runat="server" Font-Size="16px" ForeColor="#203360" Text=" / "></asp:Label>
                                <asp:DropDownList ID="DropDownListAno" runat="server" Height="30px" BorderColor="#9aafca"
                                    Width="90px">
                                    <asp:ListItem>Ano</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" Font-Names="verdana"
                                    Font-Size="12px" ForeColor="#203360">E-mail:</asp:Label>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="Email" runat="server" CssClass="textEntry" Height="30px" BorderColor="#9aafca"
                                    Width="300px" MaxLength="50"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                    CssClass="failureNotification" ErrorMessage="Preenchar o campo E-mail!" ToolTip="E-mail is required."
                                    ValidationGroup="RegisterUserValidationGroup" ForeColor="Red">*</asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email"
                                    ErrorMessage="E-mail está inválido!" Visible="false" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                    ForeColor="Red">*</asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Font-Names="verdana"
                                    Font-Size="12px" ForeColor="#203360">Senha:</asp:Label>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"
                                    Height="30px" BorderColor="#9aafca" Width="300px" MaxLength="8"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                    CssClass="failureNotification" ErrorMessage="Senha é requerida." ToolTip="Password is required."
                                    ValidationGroup="RegisterUserValidationGroup" ForeColor="Red">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword"
                                    Font-Names="verdana" Font-Size="12px" ForeColor="#203360">Confirmar senha:</asp:Label>
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="ConfirmPassword" runat="server" CssClass="passwordEntry" TextMode="Password"
                                    Height="30px" BorderColor="#9aafca" Width="300px" MaxLength="8"></asp:TextBox>
                                <asp:RequiredFieldValidator ControlToValidate="ConfirmPassword" CssClass="failureNotification"
                                    Display="Dynamic" ErrorMessage="Preenchar o campo Conf. Senha!" ID="ConfirmPasswordRequired"
                                    runat="server" ToolTip="Confirm Password is required." ValidationGroup="RegisterUserValidationGroup"
                                    ForeColor="Red">*</asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                    ControlToValidate="ConfirmPassword" CssClass="failureNotification" Display="Dynamic"
                                    ErrorMessage="A senha de confirmação devem ser iguais!" ValidationGroup="RegisterUserValidationGroup"
                                    ForeColor="Red">*</asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="3">
                                <p class="submitButton">
                                    <asp:Button ID="CreateUserButton" runat="server" BackColor="#6ea954" BorderColor="#6ea954"
                                        Text="Criar conta" ForeColor="White" Height="30px" Width="100px" ValidationGroup="RegisterUserValidationGroup"
                                        OnClick="CreateUserButton_Click" />
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <hr style="outline-style: none; color: #9aafca;" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:HyperLink ID="HyperLink1" runat="server" Font-Names="verdana" Font-Size="12px"
                                    ForeColor="#203360" NavigateUrl="~/Views/UsuarioEmpresa/LoginEmpresa.aspx" Font-Overline="False">Empresas</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </asp:Panel>
    </div>
    <!-- Div Formulario de Cadastro Fim -->
    </form>
</body>
</html>
